\documentclass[12pt]{article}
\usepackage[left=2cm,top=1cm,right=3cm,bottom=3cm]{geometry}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{comment}
\usepackage{color}

\begin{document}

\title{Hello LaTeX}
\author{foson}
\date{2018-12-10}
\maketitle
\pagenumbering{roman}
\tableofcontents
\newpage
\pagenumbering{arabic}

\section{A section}
\label{docstart}

\subsection{A subsection}

\subsubsection{A subsubsection}

\paragraph{A paragraph}

\subparagraph{A subparagraph}


This is some text about LaTeX. LaTeX is great for writing
physics and math.

Here is a new paragraph.

{\Large This text will be very large} \\
{\tiny This text will be very small} \\

% ____/\/\_______Text________ 
\section{Text}
\subsection{Font Sizes}

The choice in sizes are:

1. $\backslash$tiny         \\
2. $\backslash$scriptsize   \\
3. $\backslash$footnotesize \\
4. $\backslash$small        \\
5. $\backslash$normalsize   \\
6. $\backslash$large        \\
7. $\backslash$Large        \\
8. $\backslash$LARGE        \\
9. $\backslash$hugo         \\
10. $\backslash$Huge        \\

\subsection{Font Styles}

Sans serif \textsf{Font} \\
Teletype \texttt{Font} \\
Italic \textit{Font} \\
Small Capitals {\scshape Font} \\
Bold font {\bfseries Font}

\subsection{Coloured Text}

{\color{red}red}
{\color{green}green}
{\color{blue}blue}
{\color{cyan}cyan}
{\color{magenta}magenta}
{\color{yellow}yellow}
{\color{white}white}

% ____/\/\_______Lists________ 
\section{Lists}

\subsection{enumerate}

\begin{enumerate}
  \item[+] First thing
  \item[-] Second thing
  \begin{itemize}
      \item[one] A sub-thing
      \item Another sub-thing
  \end{itemize}
\end{enumerate}

\section{Comments \& Spacing}

\subsection{Comments}

%This line is a comment.

\begin{comment}
    some comment
\end{comment}

\subsection{Spacing}

A\vspace{12pt}B

\hspace{24pt}
AB


\section{Special Characters}

\# \$ \% \^{} \& \_ \{ \} \~{} $\backslash$ \textbackslash \\
\^e \~e


\section{Table}

\begin{center}
    \begin{tabular}{|l|l|l|}
    \hline
    Trial & Temp & Frequency [Hz] \\ \hline 
    1 & 11C & 2 \\ \hline
    2 & 15C & 10 \\ \hline
    3 & 22C & 21 \\ \hline
    \end{tabular}
\end{center}

\begin{center}
    \begin{tabular}{clc}
    \hline
    Trial & Temp & Frequency [Hz] \\ \hline 
    1 & 11C & 2 \\ \hline \hline
    2 & 15C & 10 \\ \cline{1-2}
    3 & 22C & 21 \\ \cline{2-2}
    \end{tabular}
\end{center}


\section{Figures}

Image should be \underline{pdf/png/jpeg} or \underline{gif} files.

\begin{figure}[ht!]
  \centering
  \includegraphics[width=2in]{th.jpg}
  \caption{This is the caption to the figure.}
\end{figure}

\begin{figure}[ht!]
  \centering
  \includegraphics[width=.5\textwidth]{th.jpg}
  \caption{This is the caption to the figure.}
  \label{an-example-image}
\end{figure}


\section{Equations}

Here is an equation.
\begin{equation}
  \vec{F} = m \vec{a}
\end{equation}

$1+2=3$ \\
$$1+2=3$$ \\

\begin{eqnarray}
  a & = & b + c \\
       & = & y - z 
\end{eqnarray}


\section{Mathematical Symbols}

\subsection{Power \& Indices}

$n^2$ $b_{a-2}$

\subsection{Fractions}

$$\frac{a}{3}$$ $\frac{y}{\frac{3}{x} + b}$

\subsection{Roots}

$\sqrt{y^2}$ $\sqrt[x]{y^4}$

\subsection{Sums \& Integrals}

$\sum_{x=1}^5 y^z$ $\int_a^b f(x)$

\subsection{Greek Letters}

$\alpha\beta\delta\Delta$


\section{Inserting References}

In the end put the refs to \textit{docstart}, ref \ref{docstart} and pageref \pageref{docstart}.


\section{BibTeX File}

@article{
Birdetal2001,
Author = {Bird, R. B. and Smith, E. A. and Bird, D. W.},
Title = {The hunting handicap: costly signaling in human
foraging strategies},
Journal = {Behavioral Ecology and Sociobiology},
Volume = {50},
Pages = {9-19},
Year = {2001} }


\end{document}